package cn.itsource.service;

import cn.itsource.bean.Pet;
import cn.itsource.query.PetQuery;
import cn.itsource.util.JsonResult;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author : 张金铭
 * @description :
 * @create :2022-11-23 10:17:00
 */
public interface IPetService extends IService<Pet> {
    JsonResult getPage(PetQuery query);

    JsonResult add(Pet pet);

    JsonResult upState(PetQuery query,Long state);

    JsonResult getPetById(Long id);
}
